package com.tb.mapper;

import com.tb.pojo.ShopParam;
import com.tb.pojo.ShopParamExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ShopParamMapper {
    long countByExample(ShopParamExample example);

    int deleteByExample(ShopParamExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ShopParam record);

    int insertSelective(ShopParam record);

    List<ShopParam> selectByExample(ShopParamExample example);

    ShopParam selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ShopParam record, @Param("example") ShopParamExample example);

    int updateByExample(@Param("record") ShopParam record, @Param("example") ShopParamExample example);

    int updateByPrimaryKeySelective(ShopParam record);

    int updateByPrimaryKey(ShopParam record);

    ShopParam selectByShopParam (ShopParam param);

    int deleteShopParamByGoodsIdAndUserId(Map<String,Object> map);

    int deleteShopCar(Map<String,Object> map);
}